
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.datatype;

/**
 *
 * @author Dane
 */
public class NhanVien extends Nguoi
{
    
    private String MaNV;
    private String Phongban;
    private String Chucvu;

    public NhanVien() {
    }

    public NhanVien(String Hoten, String Ngaysinh, String Gioitinh, String Diachi, String Email, String Mobile, String MaNV, String Phongban, String Chucvu) {
        super(Hoten, Ngaysinh, Gioitinh, Diachi, Email, Mobile);
        this.MaNV = MaNV;
        this.Phongban = Phongban;
        this.Chucvu = Chucvu;
    }

    public String getChucvu() {
        return Chucvu;
    }

    public void setChucvu(String Chucvu) {
        this.Chucvu = Chucvu;
    }

    public String getMaNV() {
        return MaNV;
    }

    public void setMaNV(String MaNV) {
        this.MaNV = MaNV;
    }

    public String getPhongban() {
        return Phongban;
    }

    public void setPhongban(String Phongban) {
        this.Phongban = Phongban;
    }

        @Override
    public String toString() {
        return "NhanVien{" + "MaNV=" + MaNV + ", Phongban=" + Phongban + ", Chucvu=" + Chucvu + '}';
    }
    
    
}
